{% extends "admin/login.html" %}
{% load i18n static %}

{# head之间自定义内容区块 #}
{% block extrahead %}{% endblock %}

{# 覆盖掉默认的全局样式 #}
{% block stylesheet %}{% endblock %}

{# 覆盖掉登录页独有的样式 #}
{% block extrastyle %}
    <link rel="stylesheet" href="{% static 'css/login.css' %}">
{% endblock %}

{# 覆盖全局的header #}
{% block branding %}{% endblock %}

{% block responsive %}
     <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0">
{% endblock %}

{#  登录表单区块的钩子 #}
{% block content %}
    <div class="cont">
    <div class="login_wrapper">
        <!--  表单 -->
        <form action="" class="form">
            <p class="form_title">login</p>
            <label>
                <input type="text" name="username" class="inp" placeholder="username">
            </label>
            <label>
                <input type="password" name="password" class="inp" placeholder="password">
            </label>
            <input type="button" value="登录" class="btn">
            <p class="msg">
                Don't have account?
                <a href="register.html">注册</a>
            </p>
        </form>
    </div>
</div>
{% endblock %}